package cn.zxf.note.security.platform;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Created by zengxf on 2020/3/25.
 */
@Data
@Accessors(chain = true)
public class LoginResult {

    public static final String
            SIGN_ERROR = "error",
            SIGN_GENERAL = "general",
            SIGN_OK = "ok";
    public static final LoginResult ERROR = new LoginResult()
            .setSign(SIGN_ERROR)
            .setMessage("参数有误");


    private String sign;
    private String message;

    private String openId;
    private String token;

}
